package com.shop.controller;


import com.shop.common.result.Result;
import com.shop.common.result.util.ResultModel;
import com.shop.service.ShopWindowService;
import com.shop.vo.SelectShopWindowVo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 橱窗表 前端控制器
 * </p>
 *
 * @author 靳 旺
 * @since 2021-03-13
 */
@RestController
@Api(tags = "橱窗前端控制器")
@RequestMapping("/shop-window-do")
public class ShopWindowController {

    @Autowired
   private ShopWindowService shopWindowService;

    @PostMapping("selectShopWindow")
    @ApiOperation(value = "查询客户橱窗信息",notes = "靳旺")
    public ResultModel selectShopWindow(@RequestBody SelectShopWindowVo selectShopWindowVo)throws Exception{
        return shopWindowService.selectShopWindow(selectShopWindowVo);
    }



}
